package com.qingke.easyjava.demo;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.qingke.easyjava.bean.PersonBean;

public class ListSetDemo {
	
	public static void main(String[] args) {
		
		ClassPathXmlApplicationContext context=new ClassPathXmlApplicationContext("listSet.xml");
		
		PersonBean person=context.getBean("person",PersonBean.class);
		
		
		person.getOtherPerson().show();
		
		person.show();
		
		context.close();
	}
	
	
	
	
	

}
